home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-06 / btfl144.zip / BTCOPY.BAT < prev    next >
DOS Batch File  |  1993-03-21  |  514b  |  20 lines

  1. echo off
  2. if '%1' == '' goto NO_PARMS
  3. goto OK
  4. :NO_PARMS
  5. echo USAGE: BTCOPY source_file dest_file
  6. goto END
  7. :OK
  8. rem
  9. rem 'O' to choose cOpy on opening menu, %1 the source file, '!' for ENTER,
  10. rem    %2 for the destination file, '!' for ENTER (3 times) and '###'
  11. rem    for ESC's.
  12. rem
  13. rem Remember that if more than one person on a network are using this, a
  14. rem    temporary file with a unique file name should be created.
  15. rem
  16. echo C%1!%2!!!### >btcopy.txt
  17. btfiler /k:btcopy.txt
  18. del btcopy.txt
  19. :END
  20.